import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: ()=>import('@/views/home/index.vue')
    },
    {
      path: '/editPage',
      name: 'editPage',
      component: ()=>import('@/views/editPage/index.vue')
    },
    {
      path: '/manage',
      name: 'manage',
      component: ()=>import('@/views/manage/index.vue')
    }
  ]
})

export default router
